package org.rcloud.io.service.msnmodel;

import org.springframework.stereotype.Service;
//import org.rcloud.io.service.TemplateData;

import lombok.Data;
import java.util.Map;

/**
 * Created by Administrator on 2019/3/6.
 */

@Service
//注解在类上, 为类提供读写属性, 此外还提供了 equals()、hashCode()、toString() 方法
public @Data class WxMssVo {
    private String touser;//用户openid
    private String template_id;//模版id
//    private String page = "index";//默认跳到小程序首页
    private String form_id;//收集到的用户formid
//    private String emphasis_keyword = "keyword1.DATA";//放大那个推送字段
    private Map<String, TemplateData> data;//推送文字

    public void setTouser(String touser) {
        this.touser = touser;
    }

    public void setTemplate_id(String template_id) {
        this.template_id = template_id;
    }

    public void setForm_id(String form_id) {
        this.form_id = form_id;
    }

    public void setData(Map<String, TemplateData> m) {
        this.data = m;
    }
}

